<?=form_open(uri_string())?>
<table class="form">
	<tr>
        <td  class="label">Email khách hàng</td>
        <td><input type="text" name="cusmail" id="cusmail"class="w710" value="<?=$rs->cusmail?>"></td>
    </tr>
    <tr>
        <td  class="label">Tên người gởi</td>
        <td><input type="text" name="cusname" id="cusname"class="w710" value="<?=$rs->cusname?>"></td>
    </tr>
    <tr>
        <td  class="label">Hình ảnh</td>
        <td><a class="lib_img" href="javascript:imgLib.openLib({width:'150',height:'100',return_tag:'lb_image',action:'imgcrop'});"></a>
        <div class="lb_image">
            <input type="hidden" name="lb_image" id="lb_image" value="" />
            <? if(!empty($rs->lb_image)){?>
            <a href="javascript:imgLib.openLib({dir_img:'tuvan/<?=$rs->lb_image?>',width:'150',height:'100',method:'imgcrop',return_tag:'lb_image',action:'imgcrop'});">
                <img src="<?=base_url_site()?>uploads/tuvan/<?=$rs->lb_image?>" width="120px" />
            </a>
            <? } ?>
        </div></td>
    </tr>
    <tr>
        <td  class="label">Chủ đề</td>
        <td><input type="text" name="name_vn" id="name_vn"class="w710" value="<?=$rs->name_vn?>"></td>
    </tr>
    <tr>
        <td class="label">Chủ đề(T. anh)</td>
        <td><input type="text" name="name_en" id="name_en"class="w710" value="<?=$rs->name_en?>" /></td>
    </tr>
    <tr>
        <td class="label">Câu hỏi</td>
        <td><textarea class="w710" cols="" rows="8" name="question_vn" id="question_vn"><?=$rs->question_vn?></textarea></td>
    </tr>
    <tr>
        <td class="label">Câu hỏi(T. anh)</td>
        <td><textarea class="w710" cols="" rows="8" name="question_en" id="question_en"><?=$rs->question_en?></textarea></td>
    </tr>
    <tr>
        <td class="label">Nội dung</td>
        <td><textarea class="wysiwyg-simple" cols="" rows="" name="content_vn" id="content_vn"><?=$rs->content_vn?></textarea></td>
    </tr>
    <tr>
        <td class="label">Nội dung(T. anh)</td>
        <td><textarea class="full field wysiwyg-simple" cols="" rows="" name="content_en" id="content_en"><?=$rs->content_en?></textarea></td>
    </tr>
    <tr>
        <td class="label">Hiển thị</td>
        <td><input type="checkbox" name="bl_active" id="bl_active" value="1" <?=($rs->bl_active == 1)?'checked="checked"':'';?>></td>
    </tr>
    <tr>
        <td colspan="2" align="center"><input type="submit" name="bt_submit" value="Cập nhật" class="capnhat"></td>
    </tr>
</table>
<?=form_close()?>
